class A1{
	int i,j;
	A1(int a, int b){
		this.i = a;
		this.j = b;
	}
	void show(){
		System.out.println("i: = " + i + " & j: = " + j);
	}
}
class B1 extends A1{
	int k;
	B1(int a, int b, int c){
		super(a,b);
		this.k = c;
	}
	void show(){
		// Usage of super will call the super class method
		super.show();
		System.out.println("k: " + k);
	}
}
public class MethodOverriding {
	public static void main(String[] args){
		B1 b = new B1 (1,2,3);
		b.show();
	}
}
